﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Bussiness;
using Entities;
using NUnit.Framework;


namespace TestApplication
{
    [TestFixture]
    public class Test_ChekingAccount
    {
        /// <summary>
        /// Test_s the account null.
        /// </summary>
        [Test]
        public void Test_AccountNull()
        {
            ATMSystemBussiness target = new ATMSystemBussiness(); // TODO: Initialize to an appropriate value
            CheckingAccount account = null;
            float amount = 0;
            bool expected = false; // TODO: Initialize to an appropriate value
            bool actual;
            actual = target.CheckCheckingAccount(account, amount);
            Assert.AreEqual(expected, actual);
        }

        /// <summary>
        /// Test_s the amount is not validate.
        /// </summary>
        [Test]
        public void Test_AmountIsNotValidate()
        {

            ATMSystemBussiness target = new ATMSystemBussiness(); // TODO: Initialize to an appropriate value
            CheckingAccount account = new CheckingAccount();
            account.CardID = Guid.NewGuid();
            float amount = -1000;
            bool expected = false; // TODO: Initialize to an appropriate value
            bool actual;
            actual = target.CheckCheckingAccount(account, amount);
            Assert.AreEqual(expected, actual);
        }
    }
}
